﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model.FromBody
{
    public class GsVipPointRuleModel
    {
         /// <summary>
         /// ID号
         /// </summary>
        public long pointRuleId { get; set; }
        /// <summary>
        /// 商户ID
        /// </summary>
        public int tenantId { get; set; }
        /// <summary>
        /// 积分规则编码
        /// </summary>
        public string pointRuleNo { get; set; }
        /// <summary>
        /// 积分规则名称
        /// </summary>
        public string pointRuleName { get; set; }
        /// <summary>
        /// 应用渠道（0线下，1线上)
        /// </summary>
        public int? channelType { get; set; }
        /// <summary>
        /// 积分方式（0消费积分）
        /// </summary>
        public int? pointWay { get; set; }
        /// <summary>
        /// 积分比例 每消费X元
        /// </summary>
        public decimal? saleAmount { get; set; }
        /// <summary>
        ///  获得X积分
        /// </summary>
        public int? pointNum { get; set; }
        /// <summary>
        /// 积分商品限制(0是不限制，1特价商品不积分)
        /// </summary>
        public int? specialItemPoint { get; set; }
        /// <summary>
        /// 状态(0正常，1是禁用)
        /// </summary>
        public int? enable { get; set; }
        public DateTime? createTime { get; set; }
        public DateTime? updateTime { get; set; }
    }
}
